﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace VH.SharePoint.Api.RSD
{
    public class Service
    {
        [XmlElement("engineName")]
        public String EngineName { get; set; }

        [XmlElement("engineLink")]
        public String EngineLink { get; set; }

        [XmlElement("homePageLink")]
        public String HomePageLink { get; set; }

        [XmlArray("apis")]
        [XmlArrayItem(typeof(Api), ElementName = "api")]
        public List<Api> Apis { get; set; }

        public Service()
        {
            Apis = new List<Api>();
        }
    }
}